import { NavLink, useRoutes } from 'react-router-dom'
import routes from './routes'
function App() {

  return (
    <>
      <NavLink to='/home'>Home</NavLink>
      &nbsp;&nbsp;
      <NavLink to="/about">About</NavLink>
      <hr/>
      {useRoutes(routes)}
    </>
  )
}

export default App
